package com.study.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.study.dto.Search;

import java.util.Date;

public class Counties{
    private Integer countiesId;

    private String countiesName;

    // 这里不适用Jsonformat是因为我们继承了ResponseBodyAdivice，所以在JsonFormat执行之前这个字段就被解析了一次
    @JSONField(format = "yyyy-MM-dd")
    private Date countiesDate;

    public Integer getCountiesId() {
        return countiesId;
    }

    public void setCountiesId(Integer countiesId) {
        this.countiesId = countiesId;
    }

    public String getCountiesName() {
        return countiesName;
    }

    public void setCountiesName(String countiesName) {
        this.countiesName = countiesName;
    }

    public Date getCountiesDate() {
        return countiesDate;
    }

    public void setCountiesDate(Date countiesDate) {
        this.countiesDate = countiesDate;
    }
}